projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfaa2d9
)
ti_omap4_common.h: Switch to CONFIG_OMAP_SERIAL for non-SPL DM_SERIAL
author
Tom Rini
<
[email protected]
>
Thu, 17 Sep 2015 20:47:03 +0000
(16:47 -0400)
committer
Tom Rini
<
[email protected]
>
Thu, 22 Oct 2015 18:18:40 +0000
(14:18 -0400)
Tested on Pandaboard
Signed-off-by: Tom Rini <
[email protected]
>
include/configs/ti_omap4_common.h
patch
|
blob
|
history
diff --git
a/include/configs/ti_omap4_common.h
b/include/configs/ti_omap4_common.h
index 1cd7dae85b3fe563656a7ef9b38352d146eb6d0e..741f71fc1653d176a2c5d51b1c5508900e1d667c 100644
(file)
--- a/
include/configs/ti_omap4_common.h
+++ b/
include/configs/ti_omap4_common.h
@@
-58,11
+58,15
@@
* Hardware drivers
*/
#define CONFIG_SYS_NS16550
+#if defined(CONFIG_SPL_BUILD) || !defined(CONFIG_DM_SERIAL)
#define CONFIG_SYS_NS16550_SERIAL
#define CONFIG_SYS_NS16550_REG_SIZE (-4)
#define CONFIG_SYS_NS16550_CLK 48000000
-#define CONFIG_CONS_INDEX 3
#define CONFIG_SYS_NS16550_COM3 UART3_BASE
+#else
+#define CONFIG_OMAP_SERIAL
+#endif
+#define CONFIG_CONS_INDEX 3
/* TWL6030 */
#ifndef CONFIG_SPL_BUILD